<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/html/axios.min.js"></script>
    <script src="/html/topic.js"></script>
    <link rel="stylesheet" href="/html/topic.css">
    <style>
        #headDiv{
            width: 1200px;
            height: 80px;
            background-color: rgba(255,0,0,0.4);
            font-size: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    </style>
</head>
<body>

<div id="headDiv"><img style="width: 50px" height="50px" src="/html/img/6.jpg"><p>劳斯莱斯汽车之友交流中心--></p><p id="channelDiv"></p></div>
<hr>
<a href="/html/index.html">首页</a>
主题名称：<input type="text" id="topicName">
作者：<input type="text" id="auth">
开始日期：<input type="text" id="startDate">
结束日期：<input type="text" id="endDate">
<input type="button" value="搜索" onclick="fullTable()">
<input type="button" value="添加主题" onclick="add()">
<table border="1px" width="100%" cellspacing="0">
    <thead>
    <tr><th>主题</th><th>作者</th>
        <th>回贴数量</th><th>日期</th><th>操作</th>
    </tr>
    </thead>
    <tbody id="topicData"></tbody>
</table>
<span id="page"></span>
<!--传入频道id的隐藏表单，以便作为动态查询的参数,创建主题的参数-->
<input type="hidden" id="channelId">
<!--2.查看详情弹出框-->
<div class="showDiv" id="addDiv">
    <div class="contentDiv">
        内容：<textarea rows="20" cols="50" id="contents"></textarea><br>
        <input type="button" onclick="submit()" value="提交主题">
        <input type="button" value="返回" onclick="$('addDiv').style.visibility = 'hidden'">
    </div>
</div>
</body>
</html>